package com.creditease.tmsp.common.persistence;

import java.util.List;
import java.util.Map;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;

public interface MyBatisBaseDao<T> {

	public List<T> find(Map<String,Object> params);
	public T getById(String id);
	public List<T> query(PageBounds pageBounds,Map<String,Object> params);
	public void save(T t);
	public void update(T t);
	public void deleteById(String id);
	public int delete(List<String> ids);
	
}
